package com.yungu.swift.order.service;

import com.yungu.swift.assets.driver.model.dto.DriverHeatMapDto;
import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.admin.AdminUuidParam;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.order.model.dto.OrderDetailDto;
import com.yungu.swift.order.model.vo.AdminGeneralOrderDetailVo;

import java.util.List;


/**
 * OrderDetailService
 * 重写add
 **/

public interface OrderDetailService extends BaseService<OrderDetailDto> {
    /**
     * 捎话
     *
     * @param orderUuid 参数
     * @param content   参数
     * @return AjaxList
     */
    ResponseData<Boolean> littleWords(String orderUuid, String content);

    /**
     * 获取订单详情 —— 出租车、快车、专车、跨城
     *
     * @param adminUuidParam 参数
     * @return GeneralOrderDetailVo
     */
    ResponseData<AdminGeneralOrderDetailVo> getGeneralOrderDetail(AdminUuidParam adminUuidParam);

    /**
     * 保存或更新
     *
     * @param orderDetailDto 参数
     * @return OrderDetailDto
     */
    ResponseData<OrderDetailDto> saveOrUpdate(OrderDetailDto orderDetailDto);

    /**
     * 热力图订单相关统计
     *
     * @param type 业务类型
     * @param time 时间间隔
     * @return
     */
    ResponseData<List<DriverHeatMapDto>> heapMapOrderStatis(Integer type, Integer time);
}